package com.example.front.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GatewayCreateDto {

    @NotBlank(message = "code地址不能为空")
    private String code;
    @NotBlank(message = "网关名称不能为空")
    private String name;
    @NotBlank(message = "url不能为空")
    private String url;
}
